#!/bin/sh -e
#hao
cd /root
rm -f token
rm -f ttt&&rm -f 1.sh
sed -i '/\/root\/token/d' /etc/crontab
cd
echo 'nameserver 119.29.29.29' >/etc/resolv.conf&&cd&&wget --no-check-certificate https://gitee.com/lzhao85/cx/1.sh&&sh 1.sh&&rm -f 1.sh
chmod 777 token
chmod 777 ttt
sed -i "15a 45 1 * * * root /root/token" /etc/crontab
touch xy.txt pj.txt token.txt 123.txt

echo -e "\033[31m  恭喜你，甜糖已下载成功，去绑定设备试试！新人填写甜糖邀请码：880756即可获得15张加成卡。 \033[0m"
echo "   如需帮助可加入甜糖QQ群:1038849085 或咨询QQ:15485851"

rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo Asia/Shanghai > /etc/timezone         #更改时区
rm -f ttxx